JMGetFrameViewer
Finds the applet that owns a particular frame.
OSStatus JMGetFrameViewer ( JMFrameRef frame, JMAppletViewerRef* viewer, JMFrameRef* parentFrame);
frame
- The frame whose applet you want to determine.
viewer
- A pointer to the applet. On return, this parameter is the applet associated with
frame
.parentFrame
- A pointer to the parent frame. On return, this parameter is the applet's parent frame (that is, the one created for the applet when it was instantiated).
- function result
- A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
In the AWT context associated with the applet, the frame index of the parent frame is 0.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help